#ifndef __OFFCHIP_FLASH_H__
#define __OFFCHIP_FLASH_H__

#define OFFCHIP_FLASH_START_ADDR (0)

int offchip_flash_read(long offset, uint8_t *buf, size_t size);
int offchip_flash_write(long offset, const uint8_t *buf, size_t size);
int offchip_flash_erase(long offset, size_t size);

#endif // !#ifndef __OFFCHIP_FLASH_H__